package xorm
const (
	MssqlDriver     string = "mssql"
	MssqlODBCDriver string = "odbc"
	MysqlDriver     string = "mysql"
	MyMysqlDriver   string = "mymysql"
	PostgresDriver  string = "postgres"
	OCI8DRIVER      string = "oci8"
	OracleDriver    string = "godror"
	Sqlite3Driver   string = "sqlite3"
)

func NewOracle(driver,dsn string) (*Engine, error) {
	return NewEngine(driver, dsn)
}

func NewMSSQL(driver, dsn string) (*Engine, error) {
	return NewEngine(driver, dsn)
}

func NewMySQL(driver, dsn string) (*Engine, error) {
	return NewEngine(driver, dsn)
}

func NewPostgreSQL(dsn string) (*Engine, error) {
	return NewEngine(PostgresDriver, dsn)
}

func NewSqlite3(dsn string) (*Engine, error) {
	return NewEngine(Sqlite3Driver, dsn)
}

func NewDB(driver, dsn string) (*Engine, error) {
	return NewEngine(driver, dsn)
}
